package com.gy.yemall.yemallproduct.dao;

import com.gy.yemall.yemallproduct.entity.AttrEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 商品属性
 * 
 * @author ye
 * @email 2900801226@qq.com
 * @date 2021-09-30 16:28:53
 */
@Mapper
@Component
public interface AttrDao extends BaseMapper<AttrEntity> {
    // Long类型必须在mapper.xml文件中进行resultType
    List<Long> queryByAttrIds(@Param("attrIds") List<Long> attrIds);
}
